home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1757 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  943 b 

  1. Path: haapa.oulu.fi!not-for-mail
  2. From: tikarjal@haapa.oulu.fi (Timo Karjalainen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Exec Semaphores
  5. Date: 23 Jan 1996 11:03:32 GMT
  6. Organization: University of Oulu, Computer Services Center
  7. Message-ID: <4e2fa4$1m4@ousrvr3.oulu.fi>
  8. References: <390.6583T950T852@wonder.ca>
  9. NNTP-Posting-Host: haapa.oulu.fi
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=iso-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
  14.  
  15. paulf (paulf@wonder.ca) wrote:
  16. : Does anyone know how the OS semaphores handle the following
  17. : situation:
  18. : Lock Shared from Task 1.
  19. : Lock Exclusive From Task 2.
  20. : Lock Shared from Task 3.
  21. : Unlock from Task 1.
  22. : ...
  23. : Will the OS let Task 3 into it's critical section straight away,
  24. : or will it stop it from entering until the exclusive lock from
  25. : Task 2 is serviced?  The autodocs don't mention what would happen
  26. : in a case like this.
  27.